/******************************************************************************* * Copyright (c) 2012, Project: FP7-ICT-257930 Aniketos * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * - Neither the name of institution nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ******************************************************************************/ /** * EntityId.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package eu.aniketos.mtm.idm.client.implementation; public class EntityId implements java.io.Serializable { private java.lang.String email; private java.lang.String firstName; private java.lang.String fullName; private java.lang.String groupsName; private java.lang.String homeAddress; private java.lang.String lastName; private java.lang.String phoneNumber; private java.lang.Boolean result; private java.lang.String tokenId; public EntityId() { } public EntityId( java.lang.String email, java.lang.String firstName, java.lang.String fullName, java.lang.String groupsName, java.lang.String homeAddress, java.lang.String lastName, java.lang.String phoneNumber, java.lang.Boolean result, java.lang.String tokenId) { this.email = email; this.firstName = firstName; this.fullName = fullName; this.groupsName = groupsName; this.homeAddress = homeAddress; this.lastName = lastName; this.phoneNumber = phoneNumber; this.result = result; this.tokenId = tokenId; } /** * Gets the email value for this EntityId. * * @return email */ public java.lang.String getEmail() { return email; } /** * Sets the email value for this EntityId. * * @param email */ public void setEmail(java.lang.String email) { this.email = email; } /** * Gets the firstName value for this EntityId. * * @return firstName */ public java.lang.String getFirstName() { return firstName; } /** * Sets the firstName value for this EntityId. * * @param firstName */ public void setFirstName(java.lang.String firstName) { this.firstName = firstName; } /** * Gets the fullName value for this EntityId. * * @return fullName */ public java.lang.String getFullName() { return fullName; } /** * Sets the fullName value for this EntityId. * * @param fullName */ public void setFullName(java.lang.String fullName) { this.fullName = fullName; } /** * Gets the groupsName value for this EntityId. * * @return groupsName */ public java.lang.String getGroupsName() { return groupsName; } /** * Sets the groupsName value for this EntityId. * * @param groupsName */ public void setGroupsName(java.lang.String groupsName) { this.groupsName = groupsName; } /** * Gets the homeAddress value for this EntityId. * * @return homeAddress */ public java.lang.String getHomeAddress() { return homeAddress; } /** * Sets the homeAddress value for this EntityId. * * @param homeAddress */ public void setHomeAddress(java.lang.String homeAddress) { this.homeAddress = homeAddress; } /** * Gets the lastName value for this EntityId. * * @return lastName */ public java.lang.String getLastName() { return lastName; } /** * Sets the lastName value for this EntityId. * * @param lastName */ public void setLastName(java.lang.String lastName) { this.lastName = lastName; } /** * Gets the phoneNumber value for this EntityId. * * @return phoneNumber */ public java.lang.String getPhoneNumber() { return phoneNumber; } /** * Sets the phoneNumber value for this EntityId. * * @param phoneNumber */ public void setPhoneNumber(java.lang.String phoneNumber) { this.phoneNumber = phoneNumber; } /** * Gets the result value for this EntityId. * * @return result */ public java.lang.Boolean getResult() { return result; } /** * Sets the result value for this EntityId. * * @param result */ public void setResult(java.lang.Boolean result) { this.result = result; } /** * Gets the tokenId value for this EntityId. * * @return tokenId */ public java.lang.String getTokenId() { return tokenId; } /** * Sets the tokenId value for this EntityId. * * @param tokenId */ public void setTokenId(java.lang.String tokenId) { this.tokenId = tokenId; } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof EntityId)) return false; EntityId other = (EntityId) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.email==null && other.getEmail()==null) || (this.email!=null && this.email.equals(other.getEmail()))) && ((this.firstName==null && other.getFirstName()==null) || (this.firstName!=null && this.firstName.equals(other.getFirstName()))) && ((this.fullName==null && other.getFullName()==null) || (this.fullName!=null && this.fullName.equals(other.getFullName()))) && ((this.groupsName==null && other.getGroupsName()==null) || (this.groupsName!=null && this.groupsName.equals(other.getGroupsName()))) && ((this.homeAddress==null && other.getHomeAddress()==null) || (this.homeAddress!=null && this.homeAddress.equals(other.getHomeAddress()))) && ((this.lastName==null && other.getLastName()==null) || (this.lastName!=null && this.lastName.equals(other.getLastName()))) && ((this.phoneNumber==null && other.getPhoneNumber()==null) || (this.phoneNumber!=null && this.phoneNumber.equals(other.getPhoneNumber()))) && ((this.result==null && other.getResult()==null) || (this.result!=null && this.result.equals(other.getResult()))) && ((this.tokenId==null && other.getTokenId()==null) || (this.tokenId!=null && this.tokenId.equals(other.getTokenId()))); __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; if (getEmail() != null) { _hashCode += getEmail().hashCode(); } if (getFirstName() != null) { _hashCode += getFirstName().hashCode(); } if (getFullName() != null) { _hashCode += getFullName().hashCode(); } if (getGroupsName() != null) { _hashCode += getGroupsName().hashCode(); } if (getHomeAddress() != null) { _hashCode += getHomeAddress().hashCode(); } if (getLastName() != null) { _hashCode += getLastName().hashCode(); } if (getPhoneNumber() != null) { _hashCode += getPhoneNumber().hashCode(); } if (getResult() != null) { _hashCode += getResult().hashCode(); } if (getTokenId() != null) { _hashCode += getTokenId().hashCode(); } __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(EntityId.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://idm.aniketos.eu", "EntityId")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("email"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "email")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("firstName"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "firstName")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("fullName"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "fullName")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("groupsName"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "groupsName")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("homeAddress"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "homeAddress")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("lastName"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "lastName")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("phoneNumber"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "phoneNumber")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("result"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "result")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); elemField.setMinOccurs(0); elemField.setNillable(false); typeDesc.addFieldDesc(elemField); elemField = new org.apache.axis.description.ElementDesc(); elemField.setFieldName("tokenId"); elemField.setXmlName(new javax.xml.namespace.QName("http://idm.aniketos.eu", "tokenId")); elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); elemField.setMinOccurs(0); elemField.setNillable(true); typeDesc.addFieldDesc(elemField); } /** * Return type metadata object */ public static org.apache.axis.description.TypeDesc getTypeDesc() { return typeDesc; } /** * Get Custom Serializer */ public static org.apache.axis.encoding.Serializer getSerializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanSerializer( _javaType, _xmlType, typeDesc); } /** * Get Custom Deserializer */ public static org.apache.axis.encoding.Deserializer getDeserializer( java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType) { return new org.apache.axis.encoding.ser.BeanDeserializer( _javaType, _xmlType, typeDesc); } }